const getDefaultState = () => {
    return {
        blogId: null,
        refreshComment: false
    }
}

const state = getDefaultState()

const mutations = {
    SET_BLOGID : (state, id) => {
        state.blogId = id
    },
    SET_REFRESH_COMMENT: (state, comment) => {
        state.refreshComment = comment
    }
}

const actions = {

}

export default {
    namespaced: true,
    state,
    mutations,
    actions
}